package com.example.avmanagerweb.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * <p>
 * 
 * </p>
 *
 * @author xg
 * @since 2023-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Sys_Devic")
public class  SysDevic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dvId", type = IdType.AUTO)
    private Integer dvid;

    @TableField("dvNum")
    private String dvnum;

    @TableField("dvHardwareNum")
    private String dvhardwarenum;


    @TableField("dvStatus")
    private char dvstatus = '1';    //设备为1  身份

    @TableField("dvSize")
    private Long dvsize;

    @TableField("dvVendor")
    private String dvvendor;

    @TableField("dvName")
    private String dvname;

    @TableField("dvSerialNo")
    private String dvserialno;

    @TableField("dvDepartmentID")
    private Integer dvdepartmentid;

    @TableField("dvPhoneNo")
    private String dvphoneno;

    @TableField("dvCarNo")
    private String dvcarno;

    @TableField("dvFenceID")
    private Integer dvfenceid;

    @TableField("dvUseFence")
    private Boolean dvusefence = false;     //是否使用围栏 默认0

    @TableField("dvOutFenceAlarm")
    private Boolean dvoutfencealarm = false;    //离开围栏报警 默认0

    @TableField("dvVideoServerID")
    private Integer dvvideoserverid = 34; //视频服务器id 默认34

    @TableField("dvRecordVideo")
    private Boolean dvrecordvideo = false;      //后台是否录像 默认0

    @TableField("dvLastTime")
    private Date dvlasttime;

    @TableField("dvLastStatus")
    private Boolean dvlaststatus;

    @TableField("dvIMEI")
    private String dvimei;

    @TableField("dvHardwareVer")
    private String dvhardwarever;

    @TableField("dvSoftwareVer")
    private String dvsoftwarever;

    @TableField(value = "dvRegTime", fill = FieldFill.INSERT)
    private Date dvregtime;

    @TableField("dvOBDServerID")
    private Integer dvobdserverid = 33;     //终端运行服务器id 默认33

    @TableField("dvDevType")
    private Integer dvdevtype;


}
